package com.jjw.springbootcvs.service.impl;


import com.jjw.springbootcvs.mapper.SysRoleMapper;
import com.jjw.springbootcvs.pojo.entity.SysRole;
import com.jjw.springbootcvs.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author xiaojuan
 * @Date 2024/11/1
 * @Description
 */
@Service
public class SysRoleServiceImpl implements SysRoleService {

    @Autowired
    private SysRoleMapper sysRoleMapper;
    @Override
    public List<SysRole> getAllRoleList() {
        return sysRoleMapper.getAllRoleList();
    }
}
